//
//  JYJBestMuscicListModel.m
//  HappyListen
//
//  Created by 冀永金 on 16/8/29.
//  Copyright © 2016年 冀永金. All rights reserved.
//

#import "JYJBestMuscicListModel.h"
#import "JYJMusicsModel.h"

@implementation JYJBestMuscicListModel
- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"best_musiclist"]) {
        NSMutableArray<JYJMusicsModel *> *marr = [NSMutableArray array];
        for (NSDictionary *dic in value) {
            JYJMusicsModel *model = [JYJMusicsModel modelWithDic:dic];
            [marr addObject:model];
        }
        self.best_musiclist = marr;
    }
}
@end
